<template>
  <view class="container">
    <rich-text :nodes="content"></rich-text>
  </view>
</template>

<script setup>
import { getCurrentInstance, ref } from 'vue';
const proxy = getCurrentInstance().appContext.config.globalProperties;
const http = proxy.$http;

// 获取用户协议
const content = ref('');
const getxiyi = async () => {
  const res = await http('', {}, 'POST');
  console.log(res);
};
</script>

<style lang="scss" scoped>
.container {
  padding: 30rpx;
}
</style>
